<template>
  <div class="index">
    simditor编辑器
    <br>
    
    <simditor id="aa"
      @change="change">
    </simditor>
  </div>
</template>
<script>
  import Simditor from '../components/Simditor'
  export default {
    name: 'index',
    data() {
      return {
      }
    },
    components: {
      Simditor
    },
    methods: {
      change(val){
        console.log(val)  //以html格式获取simditor的正文内容
      }
    }
  }
</script>
